package com.cloud.salon.common.base.vo.highcharts;

import lombok.Data;

import java.util.List;

/**
 * @Description 坐标轴VO
 * @Author wolf--LZH
 * @CreateDate 2019/5/15 0015 下午 3:42
 */
@Data
public class AxisVO {

    // 坐标轴标题
    private TitleVO title;
    // 坐标轴分类
    private List<String> categories;

    public AxisVO(String title, List<String> categories) {
        // 设置标题
        this.title = new TitleVO(title);
        // 设置分类
        this.categories = categories;
    }
}
